package fyp.spedmew.backend.category;

/**
 * Created by Andy on 25/2/2015.
 */
public class BooleanResponse {
    private static BooleanResponse T;
    private static BooleanResponse F;

    {
        T = new BooleanResponse(Boolean.TRUE);
        F = new BooleanResponse(Boolean.FALSE);
    }

    public BooleanResponse(Boolean value) {
        response = value;
    }

    private Boolean response;

    public static BooleanResponse getTrue() {
        return T;
    }

    public static BooleanResponse getFalse() {
        return F;
    }

    public Boolean getResponse() {
        return response;
    }
}
